<#include "macro/include.ftl"/>
<#import "macro/page.ftl" as page/>
<@page.fourPart pageId=favorPage.pageId pageSize=favorPage.pageSize count=favorPage.count pages=favorPage.numbers method="pageFavor"/>
<div>
	<table cellpadding="0" cellspacing="0" border="0">
		<tr>
			<td class="s-favorlist-cost">代价</td>
			<td class="s-favorlist-category">类别</td>
			<td class="s-favorlist-title">标题</td>
			<td class="s-favorlist-author">求助人</td>
			<td class="s-favorlist-time">创建时间</td>
			<td class="s-favorlist-post">回复/查看</td>
		</tr>
		<#list favorPage.pages as favor>
		<tr>
			<td>
				<div>
					<a href="javascript:pageFavor(${favorPage.pageId}, ${favor.cost.id})">${favor.cost.name}</a>
				</div>
			</td>
			<td>
				<div>${favor.category.name}</div>
			</td>			
			<td>
				<div>${favor.title}</div>
			</td>
			<td>
				<div><a href="${cp}/user/info.og?userId=${favor.author.id}">${favor.author.nickname}</a></div>
			</td>
			<td class="s-favorlist-time">
				<div>${favor.createTime}</div>
			</td>			
			<td>
				<div>187/15003</div>
			</td>
		</tr>
		</#list>
	</table>
</div>
